package com.googlecodes.tfhwiz.resourceutil.impl;

import java.io.InputStream;
import java.io.IOException;
import java.util.Properties;

import com.googlecodes.tfhwiz.resourceutil.ResourceParser;

public class PropertiesResourceParser implements ResourceParser<Properties> {
    @Override
    public Properties parse(InputStream is) {
        Properties p = new Properties();
        try {
            p.load(is);
            return p;
        } catch (IOException e) {
            return null;
        }
    }
}
